IOMMU: don't immediately disable bus mastering on faults
authorJan Beulich <jbeulich@suse.com>
Mon, 12 Nov 2012 08:36:07 +0000 (09:36 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Nov 2012 08:36:07 +0000 (09:36 +0100)
commit86e5fe2fd6229d330e45a78f53f822a1b41102e0
treed016c08a1c7daa49c881d753bc946a0815c1f4aa
parentb85a0ab12280192fb864339543a942dbed90577c
IOMMU: don't immediately disable bus mastering on faults

Instead, give the owning domain at least a small opportunity of fixing
things up, and allow for rare faults to not bring down the device at
all.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Dario Faggioli <dario.faggioli@citrix.com>
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/pci.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/xen/pci.h